package com.chenwut.algorithmQuestion;

public class Question_2 {
    public static void main(String[] args) {
        int day = 1;

        int sum = getCount(day);
        System.out.println(sum);

    }

    public static int getCount(int day) {
        if (day==10){
            return 1;
        }else {
            return (getCount(day+1)+1)*2;
        }
    }
}





